﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SvcUtils {
    public static class Constants {
        /* Asymmetric Encryption for Key Exchange */
        // Service public key
        public const string SERVER_KEYS = "<RSAKeyValue><Modulus>h4o5A05pQGhheQHzOkX5L1zhCaYy9F4c7h0wZbS6mLOwNHBxq3Yo8HimNaGLrafXkLJ1ekBw1E6VrO3m6MiMuKXFCLcZhoASHiLaeEqKMtAVdWjuXKwIM5uNjVub/HLcIzSpXGLHg+ngxas2AH9Yche4/fsh3IbPgvlGNfPC4ns=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";

        /* Symmetric Encryption for Data Exchange */
        // IV (initialization vector)
        public static byte[] ENCRYPTION_IV = { 205, 34, 115, 23, 87, 30, 7, 71, 92, 43, 68, 45, 22, 3, 19, 38 };
        // salt
        public static byte[] SALT = { 37, 45, 96, 88, 17, 5, 2, 250, 76 };
        // key derivation, # of iterations
        public const int ITERATIONS = 5000;
        // Key size, bits
        public const int KEY_SIZE = 256;
    }
}